<template>
  <div>
    <Zi3 @add="fg"></Zi3>
    {{ fu }}
  </div>
</template>
<script>
import Zi3 from './Zi3.vue'
export default {
  name: '',
  components: {
    Zi3
  },
  provide () {
    return {
      fu: this.fu,
      fg: this.fg
    }
  },
  data () {
    return {
      fu: '我是父亲的元素'
    }
  },
  created () {
  },
  computed: {
  },
  methods: {
    fg (e) {
      console.log(1111);
      this.fu = e
    }
  }
}
</script>
<style lang='less'  scoped>
</style>
